﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using DataAccess;
namespace SQT.tracnghiem.Ajax.ASP.Events
{
    public partial class player_request : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            int event_id = int.Parse(Request.QueryString["event_id"]);
            int type = int.Parse(Request.QueryString["type"]);
            int question = int.Parse(Request.QueryString["question"]);
            int player = int.Parse(Request.QueryString["player"]);
            string request = Request.QueryString["request"];

            new TblEventRoomController().Insert(event_id, type, question, player, request, DateTime.Now);
        }
    }
}